<template>
  <slot></slot>
</template>

<script setup>
import { provide } from "vue";
import config from "@/configs/globalConfig";
import { useUserState } from "@/store";
const userInfo = useUserState();
provide("globalConfig", config); // 全局配置
provide("loginUserInfo", userInfo); // 用户数据
</script>

<style scoped></style>
